home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / dlc_247.zip / DLC.DOC < prev    next >
Text File  |  1993-02-18  |  13KB  |  292 lines

  1. DLC * A Maximus-CBCS v2.01wb Download Counter, Version 2.47
  2. Copyright (C) 1991-1993 Robert Presland, all rights reserved.
  3.  
  4. [ Release Info * 18 Feb 93 ]---------------------------------------------------
  5.  
  6. Release 2.21 and greater are major upgrades from previous releases, therefore
  7. you should read this file before using.  Previous releases were under the
  8. name DLCOUNT but since a utility already existed by that name, mine was
  9. changed to DLC.
  10.  
  11. This version uses a control file for it's parameters (you can only fit
  12. so much on a command line).  Please consult the distribution control
  13. file DLC.CTL for more details.
  14.  
  15. [ Bug Reports ]----------------------------------------------------------------
  16.  
  17. Send bug reports to Robert Presland at 1:243/27, include the following:
  18.  
  19.    DLC.CTL
  20.    DLC.LOG
  21.    DLC.TMP (if found in the current directory)
  22.    AREA.DAT (or equivalent)
  23.    MAX.LOG (or equivalent)
  24.    FD.LOG (if applicable)
  25.    BINK.LOG (if applicable)
  26.    FILES.BBS (if applicable)
  27.  
  28. Zip 'em up and send 'em off.  Many thanks to all that send me reports on
  29. my programs, it's a great help.  I welcome all comments and suggestions
  30. to the above node address.
  31.  
  32. [ So Why Use This Utility? ]---------------------------------------------------
  33.  
  34. DLC currently supports FILELIST for CD-ROM users, mailer logs, extension
  35. exclusions, configurable counter delimiters, optional download log file,
  36. optional log file, multiple configuration files, configurable length
  37. counters, optional 'space for zero' counter, selective initialization,
  38. and will not process the same downloaded file more than once, as well as
  39. much much more.  Read the history section for a complete detailing of
  40. what has been added since the first release.
  41.  
  42. [ Archive ]--------------------------------------------------------------------
  43.  
  44. You should have received DLC in an ARJ archive, with only the following
  45. six (6) files contained within:
  46.  
  47.      DLC.DOC      This text file
  48.      DLC.EXE      The exectuable
  49.      DLCTT.DOC    Documentation for DLCTT
  50.      DLCTT.EXE    The DLCTT executable
  51.      DLC.CTL      The control file for both DLC and DLCTT
  52.      WHATSNEW.246 New things you must know about
  53.  
  54. If one of these files is missing, or there are extra files, or the archive
  55. fails a CRC check, please file-request it from 1:243/27.
  56.  
  57. [ Description ]----------------------------------------------------------------
  58.  
  59. DLC will process your Max log file and add a counter to the beginning
  60. of the description for each file downloaded.  A four digit counter is used
  61. (by default) to enable up to 9999 downloads per file, however, since the 
  62. counter length is configurable, you could get counters in the 65000 range
  63. if you wanted.
  64.  
  65. [ Installation ]---------------------------------------------------------------
  66.  
  67. Simply run DLC as part of your daily maintenace (usually at midnight) and
  68. make sure you configure the control file to suit your system.  After that,
  69. it's all automatic.  Do whatever you want with the logs after DLC is done.
  70.  
  71. [ Usage ]----------------------------------------------------------------------
  72.  
  73.    DLC [ /?] [/F] [/U] [/S] [/C<ConfigFile>] [/I [Areas]] [/A [Areas]]
  74.  
  75. [ Switches ]-------------------------------------------------------------------
  76.  
  77.    /?
  78.  
  79.       Display a help screen.
  80.  
  81.    /F
  82.  
  83.       Process all downloads in the BBS and mailer logs even if they have
  84.       been processed already.
  85.  
  86.    /U
  87.  
  88.       Initalizes all areas which allow uploads, however no log parsing is
  89.       performed.  You could use this switch after each upload to your
  90.       system.
  91.  
  92.    /S
  93.  
  94.       Create a stat file for use with the accompanying program DLCTT.
  95.  
  96.    /I [Areas]
  97.  
  98.       DLC will add a zero count to every file without a count located in
  99.       either the file FILES.BBS in the DOWNLOAD directory, or the file
  100.       specified in the FILELIST option.  If a counter does not exist, one
  101.       will be added.  This is NOT a reset for counters.  If just /I is
  102.       used, then all areas will be initalized.  If a list of area
  103.       names is also specified, then only those areas will be initialized.
  104.       When this switch is used, only the initialization will be done
  105.       and the log files (both BBS and Mailer) will NOT be parsed.
  106.       THIS SWITCH IF SPECIFIED MUST BE THE LAST SWITCH ON THE COMMAND LINE!
  107.  
  108.       For example:
  109.  
  110.          DLC /I                Initialize all areas
  111.          DLC /I 47             Initialize the area 47
  112.          DLC /I DOS GRAPHICS   Initialize the areas DOS and GRAPHICS
  113.     
  114.    /A [Areas]
  115.  
  116.       Same as /I except DLC will also parse the mailer logs.
  117.       THIS SWITCH IF SPECIFIED MUST BE THE LAST SWITCH ON THE COMMAND LINE!
  118.  
  119.    /C<ConfigFile>
  120.  
  121.       The default control file is DLC.CTL, but you can specify an alternate
  122.       control file with this switch.
  123.  
  124. [ History ]--------------------------------------------------------------------
  125.  
  126. 2.47  Rewrote logic for looking for existing counters and where to put new
  127.       ones.  Should eliminate problems like (1 [  0] of 6) descriptions.
  128.  
  129. 2.46  Added IgnoreMatch.  Changed copyright notice.
  130.  
  131. 2.45  Added text file buffers for increased speed. Removed the logging --
  132.       will not log to the screen, use > to create a log file.  Removed /Q.
  133.       Fixed a bug that would sometimes not add a counter if too many spaces
  134.       were on there line and a counter was added to the previous line (or
  135.       something like that -- point is it's fixed).
  136.  
  137. 2.44  Fixed a bug when using /I alone, will now init all areas (same with /A).
  138.       Fixed a bug that would not recognize the last area specified with /A.
  139.  
  140. 2.43  Added multiple area intialization through /I and /A.
  141.  
  142. 2.42  A little optimization (I tried).  Fixed a bug when assuming data in
  143.       the AREA.DAT file was in parsed format.
  144.  
  145. 2.41  Added 'ProcessGif' and 'GifTemplate' to control file.  See the
  146.       distribution control file for more details.
  147.  
  148. 2.40  Added support for Max's AREA.DAT file.  Reviewed log levels and
  149.       log entries.  Added ": Read x file area(s)" to log.  Added file sharing,
  150.       files are opened in ReadOnly and DenyNone for reading.  DLC will
  151.       now read all areas into memory from AREA.DAT file, maximum 1024
  152.       areas memory permitting.  If DLC can't fit all the areas into memory
  153.       then the remaining areas will just be treated as if they didn't exist.
  154.       Updated DLCTT, see its documentation for more details.
  155.  
  156. 2.33  Fixed a small bug that would occasionaly miss initializing a file
  157.       if it had no description.  Fixed a runtime error when not using /S.
  158.  
  159. 2.32  Added /S and DLCTT.  Deleted beta release notice in docs.  Added
  160.       accompanying utility DLCTT.  See DLCTT.DOC for more details.
  161.  
  162. 2.31  Fixed a bug which would process the same file more than once in
  163.       the mailer log.
  164.  
  165. 2.30  Full wide release in SDSMAX.
  166.  
  167. 2.29r Maximum file areas is now 435 instead of 400.
  168.  
  169. 2.29q DLC will now ignore any QW? extensions automagically.
  170.  
  171. 2.29p Ok, listen up!  You can now use the - any where you want and what
  172.       is suppose to happen is most likely what may happen.  That is,
  173.       You can use the - in a filename within the FILES.BBS and you can
  174.       use a - in the path of a download area.  And you can use the - as
  175.       a colour indicator as the first character in the FILES.BBS.
  176.       Happy now?
  177.  
  178. 2.29o Another one that looks funny.
  179.  
  180. 2.29n Added - back as a "no-no" character for file names and full
  181.       paths.  - is necessary as a colour control character in the 
  182.       FILES.BBS.  Sorry Ken.  Fixed 'IgnoreFilesWithTic' which never
  183.       did work.
  184.  
  185. 2.29m Improved update performance with a little optimization.  Removed
  186.       the - character from the list of "no-no" characters (I was saving
  187.       it for future switches in the files' description but too many
  188.       want it in the filename and area paths, so now you can).
  189.  
  190. 2.29l There is none, 2.29l looks funny.
  191.  
  192. 2.29k Fixed *MAJOR* bug introduced with 2.29j that would truncate the
  193.       FILES.BBS (or equivalent) after a match is found.  Fixed a small
  194.       bug with the display of the +End log line when /? is used.
  195.  
  196. 2.29j Will exit the current FILES.BBS (or equivalent) as soon as a match
  197.       is found and will *not* search and update dups in the list.
  198.  
  199. 2.29i Fixed a bug that would update a file more than once if more than
  200.       one file area pointed to the same directory.  Sorted areas in memory
  201.       for faster searching.
  202.  
  203. 2.29h Screen writes are now BIOS and not direct, fixed a spelling error
  204.       in the help screen.  Fixed a couple of misplaced file close calls.
  205.       Echo log entries to screen, added /Q for quiet mode.
  206.  
  207. 2.29g Added 'IgnoreFilesWithTic' to allow files that were transferred as
  208.       part of a TIC process to not be counted.  
  209.  
  210. 2.29f Allowed all characters except /-[<{( as the first character of
  211.       a file's description without a counter.  Added /F, forced log
  212.       parsing.
  213.  
  214. 2.29e Added full DOS wildcard matching within FILES.BBS (or equivalent).
  215.       
  216. 2.29d Fixed a bug when the DLC log file directory didn't exist, will now
  217.       catch the error and exit gracefully.  Modified /I to not parse
  218.       log files.  Added /A to initialize AND parse.  Added /U to initialize
  219.       only the upload areas (without log parsing).  Altered the way that DLC
  220.       determines if there is a counter already present.  Now, DLC will check
  221.       to see if a counter is present where it would put one, and not anywhere
  222.       in the line.  This will permit the use of [] (etc) as part of the
  223.       files' description (but not as the first character in the description).
  224.  
  225. 2.29c Fixed a bug when inserting new counters, it would add 3 extra spaces
  226.       when not wanted.
  227.  
  228. 2.29b Added selective area initialization, zero-padded as an option to
  229.       space-padding.  Fixed a bug while reading tab characters.
  230.       Limited beta release.
  231.  
  232. 2.29a Added optional [    ] instead of [   0] for a zero counter.  The 
  233.       length of the counter is now configurable.  DLC will read the current
  234.       counter for a file, update it, and not change the length.  When
  235.       adding a new counter however, DLC will add one in accordance to the
  236.       control file specification for counter length.  Limited beta release.
  237.  
  238. 2.23  Fixed a minor bug which still diplayed an error to the screen when
  239.       the specified FILES.BBS file is not found.  Fixed a bug with lower-
  240.       case specified IgnoreExt.  Added 'AddOrphan' keyword to the control
  241.       file.  Added support for wildcard matching in the FILES.BBS.  Added
  242.       support for same file BBS/Mailer logs (ie. the BBS and Mailer use
  243.       the same log file).
  244.  
  245. 2.22  Fixed a bug that hung on mailer lines with SENT in BBS names,
  246.       took the same problem and fixed it in places that may cause problems
  247.       in similar situations on other log files.  Added support for all
  248.       valid DOS characters in filenames, ie. ~!@#$%&()_
  249.  
  250. 2.21  Fixed a bug that hung on lines with nothing but spaces.
  251.  
  252. 2.2   Added a check to ensure that the DLC will not process entries
  253.       in either the Maximus log file or the mailer log file more than
  254.       once.  This means that you can run DLC on the same log file more
  255.       than once and the downloads will only be counted once.  Added a
  256.       log file, including a log entry level.  Most of output is through
  257.       the log file and not the screen.  Released for testing only.
  258.  
  259. 2.1   Added mailer support, as well as the ability to ignore files
  260.       based on extension.  Changed from a command line configuration
  261.       to a control file configuration.  Name changed from DLCOUNT to
  262.       DLC to avoid copyright infringement.  Released for testing only.
  263.  
  264. 2.0   Rewrite of previous version with better algorithms.  File
  265.       area data is kept in memory and not in a temp file.  Support
  266.       for the FILELIST command in the FILEAREA.CTL was added.
  267.       Colour was an option but then abondoned (too annoying).
  268.       Released for testing only.
  269.  
  270. 1.3   First public release.
  271.  
  272. 1.0   Stone age thing not worth mentioning.
  273.  
  274. [ Warning! ]-------------------------------------------------------------------
  275.  
  276. This utility is not guaranteed to do anything.  Use at your own risk.
  277. Don't come crying to me!
  278.  
  279. [ Legal Stuff ]----------------------------------------------------------------
  280.  
  281. This utility may be distributed in it's original archive only.  No fee shall
  282. be charged for its distribution beyond the cost of transmition over phone
  283. lines.
  284.  
  285. [ Thanks ]---------------------------------------------------------------------
  286.  
  287. Much thanks to Chris Grainger (1:163/518) for his help in testing and
  288. support.  Thanks to Ken Wilson (1:243/12) for picking up DLC and 
  289. proposing many excellent suggestions and endless hours of testing.
  290. Many thanks to all those who use this utility and respond with complaints,
  291. comments and suggestions.
  292.